package cn.ycc1.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Title:
 * @Author ycc
 * @Date 2023/7/4 15:52
 */
@Data
@TableName("order_tbl")
@ApiModel("订单表")
public class Order {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("订单ID")
    private Long id;
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("提交码")
    private String commodityCode;
    @ApiModelProperty("采购数量")
    private Integer count;
    @ApiModelProperty("采购金额")
    private Integer money;
}
